package com.briup.demo;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

// 用户实体类
//加注释省略方法代码
//@Getter
//@Setter
//@ToString
//@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@Data
public class User {
    private int id;
    private String name;
    private short age;
    private short gender;
    private String phone;
    private LocalDate birthday;
    private LocalDateTime registerTime;
}
